package cc.mrbird.febs.power.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;

import java.io.Serializable;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @author MrBird
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class AccountBindRoleInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 账户ID
     */
    @TableId("accountId")
    private Long accountId;

    /**
     * 角色ID
     */
    @TableField("roleId")
    private String roleId;

    public AccountBindRoleInfo(Long accountId, String roleId) {
        this.accountId = accountId;
        this.roleId = roleId;
    }
}
